'/
' Base.bmx
' 
' Completely free to share, use, and do whatever with.
' Originally written 2010 by Anton Berlin.
'/

type Base

	'// -------------------------------------------------------------------------------------------------------------
	'// Here you set how long the computer had been turned on when this process was launched.
	'// -------------------------------------------------------------------------------------------------------------
	global m_startingTime:long = milliSecs();
	
	'// -------------------------------------------------------------------------------------------------------------
	'// Returns the ammount of milliseconds the process has been running.
	'// -------------------------------------------------------------------------------------------------------------
	function getTics:long()
	
		return long(milliSecs() - m_startingTime);
	
	end function

end type
